package liveData.migration.toPhoenix.util;

import lombok.extern.slf4j.Slf4j;

import java.lang.reflect.Field;

/**
 * @program: LiveDataMigrationToPhoenix
 * @description:
 * @author: sunteng
 * @create: 2020-04-29 12:31
 **/
@Slf4j
public class ClassHelper {

    public String makeSql(int length) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < length - 1; i++) {
            sb.append("?,");
        }
        sb.append("?");

        return sb.toString();
    }
}
